package com.yuyou.tas.admin.service;

import java.util.List;

import com.yuyou.tas.service.api.admin.entity.AuthUserRoleRelation;

/**
 * Created by yujin.liu on 2018/2/25.
 */
public interface IAuthUserRoleRelationService {

    int deleteByUserId(Long userId);
    
    int deleteByUserRole(Long userId,int authRoleId);

    int insertAuthUserRoleRelation(AuthUserRoleRelation authUserRoleRelation);
    
    List<AuthUserRoleRelation> findByRole7Organ(List<Long> roleIds,long authOrganizationId);
    
    int delByIds(List<Long> ids);

}
